﻿using GPS.DataAccessLayer;
using PagedList;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace GPS.ENTITYS
{
    public class ViewModelHV_TOTNGHIEP
    {
        public int? Page { get; set; }
        public string pDVGTVT_MA { get; set; }
        public string pKH_MA { get; set; }
        public string pKH_LOP_MA { get; set; }
        public string pHV_MA { get; set; }
        public string pHV_HOTEN { get; set; }
        public string pHV_CMND { get; set; }
        public string pHANG_DT { get; set; }
        public decimal? pSO_QD_TN { get; set; }
        public Nullable<System.DateTime> pNGAY_QD_TUNGAY { get; set; }
        public Nullable<System.DateTime> pNGAY_QD_DENNGAY { get; set; }

        public IPagedList<ModelDHV_DDTTN> SearchResults { get; set; }
        public string SearchButton { get; set; }
    }

    public class ModelDHV : DHV
    {
        public decimal? ID_LOP { get; set; }
        public decimal? ID_LOP_HV { get; set; }
        public string DTTN_HV_MA { get; set; }
        public string DTTN_MA { get; set; }

        public string DTSH_CSDT_MA { get; set; }
        public string DTSH_CSDT_HV_MA { get; set; }

        public string DTSH_TTSH_MA { get; set; }
        public string DTSH_TTSH_TTSH_MA { get; set; }
        public string DTSH_TTSH_SBD { get; set; }

    }

    public class ModelDHV_DDTTN : GPS.DataAccessLayer.DHV
    {
        public decimal? DDTTN_ID { get; set; }
        public string DDTTN_QD_SO_QD { get; set; }
        public string DDTTN_QD_TENKHOA { get; set; }
        public string KH_HANGGPLX_MA { get; set; }
        public string KH_HANGDT_MA { get; set; }
        public decimal? DTTN_QD_ID { get; set; }
    }

    public class ModelDHV_KYTRUOC
    {
        public string HV_MA { get; set; }
        public string HV_DVGTVT_MA { get; set; }
        public string HV_KH_MA { get; set; }
        public string HV_HO_TEN { get; set; }
        public string HV_DVGTVT_TEN { get; set; }
        public string HV_GIOITINH { get; set; }
        public string HV_NGAYSINH { get; set; }
        public string HV_HS_TT { get; set; }
        //public decimal? HV_HS_KQTN_LT { get; set; }
        //public decimal? HV_HS_KQTN_TH { get; set; }
        //public decimal? HV_HS_KQTN_TD { get; set; }
        //public decimal? HV_HS_KQTN_CC { get; set; }
        public string KH_HANGGPLX_MA { get; set; }
        public string KH_HANGDT_MA { get; set; }
        public string DHV_HS_TT_TEXT { get; set; }
    }
}
